# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "rack/allow-from/version"

Gem::Specification.new do |s|
  s.name        = "rack-allow-from"
  s.version     = Rack::AllowFrom::VERSION
  s.authors     = ["Philip Champon"]
  s.email       = ["pchampon@gmail.com"]
  s.homepage    = ""
  s.summary     = %q{Control which hosts connect to your Rails app}
  s.description = %q{A Rack middlware which reads from a Rails configuration variable, 
                     determining which hosts are allowed to connect to your Rails app.}

  s.rubyforge_project = "rack-allow-from"

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]

  s.add_development_dependency "rake"
  s.add_development_dependency "rspec"
  s.add_runtime_dependency "rails", "~> 3.1.0"
end
